package com.yoomiito.app.model.config;

import android.os.Parcel;
import android.os.Parcelable;

public class ReTaoBaoUrlConfigInfo implements Parcelable {
    private int id;
    private String name;
    private String value;
    private String msg;
    private int is_deleted;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.name);
        dest.writeString(this.value);
        dest.writeString(this.msg);
        dest.writeInt(this.is_deleted);
    }

    public ReTaoBaoUrlConfigInfo() {
    }

    protected ReTaoBaoUrlConfigInfo(Parcel in) {
        this.id = in.readInt();
        this.name = in.readString();
        this.value = in.readString();
        this.msg = in.readString();
        this.is_deleted = in.readInt();
    }

    public static final Parcelable.Creator<ReTaoBaoUrlConfigInfo> CREATOR = new Parcelable.Creator<ReTaoBaoUrlConfigInfo>() {
        @Override
        public ReTaoBaoUrlConfigInfo createFromParcel(Parcel source) {
            return new ReTaoBaoUrlConfigInfo(source);
        }

        @Override
        public ReTaoBaoUrlConfigInfo[] newArray(int size) {
            return new ReTaoBaoUrlConfigInfo[size];
        }
    };
}
